package com.example.software.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.fasterxml.jackson.annotation.JsonProperty;

@Data
@TableName("support_request") 
public class SupportRequest {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    
    private String type;
    private String taskId;
    private String priority;
    private String description;
    private String contact;
    
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField("created_at")
    @JsonProperty("created_at")
    private LocalDateTime createdAt;
    
    private String reply;
}